package com.ddtech.business.web.query;

import com.ddtech.business.web.entity.CollectRecord;
import com.ddtech.mybatisplus.annotaion.Eq;
import com.ddtech.mybatisplus.annotaion.Like;
import com.ddtech.mybatisplus.query.WebAbstractQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CollectRecordQuery extends WebAbstractQuery<CollectRecord> {
    @Eq
    @ApiModelProperty(value = "学员id")
    private String userId;

    @Like
    @ApiModelProperty(value = "学员姓名")
    private String userName;

    @Like
    @ApiModelProperty(value = "课程/习题名称")
    private String name;

    @Eq
    @ApiModelProperty(value = "类型:1课程 2考试习题、3题库习题")
    private Integer type;
}
